<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>在此处插入标题</title>
<link rel="stylesheet"
	href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<script
	src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script
	src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
	<nav class="navbar navbar-inverse navbar-fixed-top">
	<div class="navbar-collapse collapse">
		<div class="container">
			<ul class="nav navbar-nav">
				<li style="font-size: 18px; text-color: #ffffff;"><a>上机考试系统</a></li>
				<li><a href="admin_main.jsp"> 首页 </a></li>
				<li><a href="manage_teacher.jsp"> 教师管理 </a></li>
				<li><a href="clear_exam.jsp"> 考试清理 </a></li>
				<li><a href="system.jsp"> 系统配置 </a></li>
			</ul>
			<ul class="nav navbar-nav" style="float: right">
				<li><a>欢迎您，<%=(String) session.getAttribute("admin")%></a></li>
				<li><a href="" data-toggle="modal" data-target="#myModal">更改密码</a></li>
				<li><a href="../index.jsp"> 退出 </a></li>
			</ul>
		</div>
	</div>
	</nav>
	<div class="container" style="margin-top: 50px;">
		<h1>
			系统管理
		</h1>
	</div>
	<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog" style="width: 300px">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">
						<b>修改密码</b>
					</h4>
				</div>
				<form action="../ChangeAdminPwd" method="post">
					<div class="alert navbar-inverse "
						style="background-color: #eeeeee; height: auto; margin-top: 20px">
						<input type="password" style="width: 250px" placeholder="原密码" name="oldPwd" class="form-control"> 
						<br /> 
						<input type="password" style="width: 250px" placeholder="新密码" name="newPwd1" class="form-control"> 
						<br /> 
						<input type="password" style="width: 250px" placeholder="重输新密码" name="newPwd2" class="form-control"> 
						<br />
						<button type="submit" style="width: 250px" class="btn btn-primary">修改</button>
					</div>
				</form>

			</div>
		</div>
	</div>
</body>
</html>